<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>促销活动-{$tpshop_config['shop_info_store_title']}</title>
<meta http-equiv="keywords" content="{$tpshop_config['shop_info_store_keyword']}" />
<meta name="description" content="{$tpshop_config['shop_info_store_desc']}" />
<link rel="stylesheet" href="__STATIC__/css/promoteList.css" type="text/css">
<script src="__PUBLIC__/js/pc_common.js"></script>
</head>
<body>
<!--------头部开始-------------->
<include file="Public/header" />
<!--------头部结束-------------->
 
<!--------促销列表------------->
 
<body>
<div class="dircontent">
    <div class="sort container">
      <div class="berserk clearfix">
		<script>
        // 倒计时
        function GetRTime2(){
            //var text = GetRTime('2016/02/27 17:34:00');
           <foreach name="goodsList" item="v" key="k" >			
            var text{$v[goods_id]} = GetRTime('{$v.end_time|date="Y/m/d H:i:s",###}');								
            $("#surplus_text{$v[goods_id]}").text(text{$v[goods_id]});
		   </foreach>
        }
        setInterval(GetRTime2,1000);
    </script>
      <foreach name="goodsList" item="v" key="k" >
        <div class="berserk-item scale" id="zxmp_32268" data-fixsite="1" data-activityid="32268" isstarted="true" data-starttime="1456365600000" data-endtime="1456797599000" data-couponid="321844" data-total-count="1" data-total-page="4" data-current-page="1">
          <div class="berserk-pic"> <a href="{:U('/Home/Goods/goodsInfo',array('id'=>$v[goods_id]))}" target="_blank"> 
          <img src="{$v.goods_id|goods_thum_images=250,250}"  class="scale-img"> </a>
            <div class="time">
              <div class="time-bg"> <i class="icon sprite"></i> </div>
              <div class="time-txt">&nbsp;&nbsp;剩余：<i class="sprite" id="surplus_text{$v[goods_id]}"></i></div>
            </div>
          </div>
          <div class="berserk-info info">
            <div class="info-txt">
              <h4 class="discountstr"><strong><?php echo round($v['price'] / $v[shop_price] * 10 , 1); ?></strong>折起</h4>
              <p class="saleNum">{$v[click_count]}人已浏览</p>
            </div>
            <div class="info-logo"> 
              <a href="javascript:void(0);" target="_blank">
              <p class="title">{$v[goods_name]}</p>
                  <p class="info"> 商品原价￥{$v[shop_price]} </p>
              </a> 
            </div>
          </div>
        </div>
        </foreach>
                
      </div>
    </div>
</div>

<!--------促销列表 end------------->

<!--------底部banner-开始-------------->
	<div class="layout layer">
    	<div class="cen-banne">
            <adv pid = "6" limit="1" item="v">            
    	        <a href="{$v['ad_link']}"<if condition="$v['target'] eq 1">target="_blank"</if>>
        	        <img src="{$v['ad_code']}" width="1200" height="160"  title="{$v[title]}" style="{$v[style]}"/>
	            </a>    
             </adv>            
        </div>
    </div>
<!--------底部banner-结束-------------->
<!--------footer-开始-------------->
<include file="Public/footer" />
<!--------footer-结束-------------->
</body>
</html>